﻿@model MVC3MusicStore.Models.Album
@{
    //ViewBag.Title = "Details";
    ViewBag.Title = "Album - " + Model.Title; 
}
<h2>
    Album: @Model.Title</h2>
<p>
    <img alt="@Model.Title" src="@Model.AlbumArtUrl" />
</p>
<div id="album-details">
    <p>
        <em>Genre:</em> @Model.Genre.Name
    </p>
    <p>
        <em>Artist:</em> @Model.Artist.Name
    </p>
    <p>
        <em>Price:</em> @String.Format("{0:F}", Model.Price)
    </p>
    <p>
        <a class="btn btn-success"  href="/ShoppingCart/AddToCart/@Model.AlbumId">
        <i class="icon-shopping-cart icon-white">
        </i>加入购物车 </a>
    </p>
</div>
